﻿using FlitBit.Wireup.Meta;

// Let FlitBit.Wireup know we are dependent upon DTO
// causes our IPerson implementation to be emitted/compiled at wireup time.
[assembly: WireupDependency(typeof(FlitBit.Dto.AssemblyWireup))]

// Add a ModelBinderProvider that can bind DTOs (factors out some reflection; faster).
[assembly: WireupDependency(typeof(FlitBit.Dto.Mvc.AssemblyWireupAddModelBinderProvider))]

// Replace the DefaultModelBinder with one that can bind DTOs (more reflection, adaptable to types
// that do not exist at wireup, or implementations that are swapped out at runtime).
//[assembly: WireupDependency(typeof(FlitBit.Dto.Mvc.AssemblyWireupReplacingDefaultModelBinder))]
